package org.example.dao.impl;

import org.example.dao.UserDao;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class UserDaoImpl implements UserDao {

    private String name;
    private String tag;
    private List objList;
    private Set objSet;
    private Map objMap;

    private Properties objProp;

    public UserDaoImpl() {
        System.out.println("userDaoImpl 的构造函数");
    }

    public UserDaoImpl(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public List getObjList() {
        return objList;
    }

    public void setObjList(List objList) {
        this.objList = objList;
    }

    public Set getObjSet() {
        return objSet;
    }

    public void setObjSet(Set objSet) {
        this.objSet = objSet;
    }

    public Map getObjMap() {
        return objMap;
    }

    public void setObjMap(Map objMap) {
        this.objMap = objMap;
    }

    public Properties getObjProp() {
        return objProp;
    }

    public void setObjProp(Properties objProp) {
        this.objProp = objProp;
    }

    @Override
    public void operate() {
        System.out.println("userDaoImpl 的相关操作");
    }

    public void init(){
        System.out.println("userDaoImpl 的初始化方法");
    }

    public void destroy(){
        System.out.println("userDaoImpl 的销毁方法");
    }


}
